﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PVList.aspx.cs" Inherits="FinanceCenter_PVList" %>

<%@ Register TagPrefix="ShoveWebUI" Namespace="Shove.Web.UI" Assembly="Shove.Web.UI.4 For.NET 2.0" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>销售额统计</title>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />

    <script src="../Components/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        &nbsp;</div>
    <div id="content" style="text-align:center;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-top: 3px;">
            <tr>
                <td>
                    <asp:Button ID="btnOK" runat="server" Text="统计本月业绩" onclick="btnOK_Click" />
                </td>
                <%--<td align="right" class="black12">
                    <input id="tbStartTime" name="tbStartTime" runat="server" onclick="WdatePicker()" />
                </td>
                <td align="center">
                    至
                </td>
                <td align="left" class="black12">
                    <input id="tbEndTime" name="tbEndTime" runat="server" onclick="WdatePicker()" />
                </td>
                <td width="60%" align="left" class="black12">
                    <asp:ImageButton ID="ibSelect" runat="server" ImageUrl="../images/clearing/cw_button_1.jpg"
                        OnClick="ibSelect_Click" />
                    <a href="DownloadEarningList.aspx?StartTime=<%=tbStartTime.Value%>&EndTime=<%=tbEndTime.Value%>"
                        target="_blank">
                </td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="3" style="height: 5px;">
                </td>
            </tr>--%>
        </table>
        <asp:DataGrid ID="g" runat="server" BackColor="#6CA4E4" CellPadding="5" Width="98%"
            CellSpacing="1" BorderWidth="0px" AllowSorting="True" AutoGenerateColumns="False"
            AllowPaging="True" CssClass="gStyle" OnItemDataBound="g_ItemDataBound">
            <FooterStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
            <SelectedItemStyle HorizontalAlign="Center" Font-Bold="True" ForeColor="White"></SelectedItemStyle>
            <HeaderStyle HorizontalAlign="Center" ForeColor="Navy" VerticalAlign="Middle" CssClass="gHeader">
            </HeaderStyle>
            <ItemStyle CssClass="gItem" BackColor="White" />
            <Columns>
                <asp:BoundColumn DataField="ID" HeaderText="序号"></asp:BoundColumn>
                <asp:BoundColumn DataField="CustomerNo" HeaderText="会员编号"></asp:BoundColumn>
                <asp:BoundColumn DataField="CustomerName" HeaderText="会员姓名"></asp:BoundColumn>
                <asp:BoundColumn DataField="SiteTitle" HeaderText="商城名称"></asp:BoundColumn>
                <asp:BoundColumn DataField="PV" HeaderText="本月销售PV"></asp:BoundColumn>
                <asp:BoundColumn DataField="MonthA" HeaderText="左区市场月销售PV"></asp:BoundColumn>
                <asp:BoundColumn DataField="MonthB" HeaderText="右区市场月销售PV"></asp:BoundColumn>   
                <asp:BoundColumn DataField="CountA" HeaderText="左区市场总销售PV"></asp:BoundColumn>
                <asp:BoundColumn DataField="CountB" HeaderText="右区市场总销售PV"></asp:BoundColumn>                
            </Columns>
            <PagerStyle Visible="False" HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC">
            </PagerStyle>
        </asp:DataGrid>
        <ShoveWebUI:ShoveGridPager ID="gPager" BorderWidth="0" CssClass="gStyle" BorderStyle="None"
            runat="server" Width="98%" ShowSelectColumn="False" DataGrid="g" OnPageWillChange="gPager_PageWillChange"
            OnSortBefore="gPager_SortBefore" AlternatingRowColor="White" HotColor="White"
            GuiseColor="False" ClientNavigation="true" PageSize="10" />
    </div>
    </form>
</body>
</html>
